package com.tanhua.manage.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description: 用户实体类
 * @Author: baixiao
 * @Date: Created in 13:00 2020/12/31
 * @ModifiedBy:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User extends BasePojo {
    // 用户id
    private Long id;
    // 用户手机号 用来登录
    private String mobile;

    // 密码, json序列化时忽略
    @JsonIgnore
    private String password;
}
